﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ManaMaple.DB.Models
{
    /// <summary>
    /// ** 描述：分页返回类
    /// </summary>
    public class PageReturn<T> where T : class
    {
        /// <summary>
        /// 每页显示数量
        /// </summary>
        public int PageSize { get; set; }
        /// <summary>
        /// 当前页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 总数
        /// </summary>
        public int TotalCount { get; set; }
        /// <summary>
        /// 返回的LIST集合
        /// </summary>
        public List<T>? DataList { get; set; }
        /// <summary>
        /// 返回数据集
        /// </summary>
        public object? SumData { get; set; }
    }
}
